package com.zking.mapper;

import com.zking.entity.Brand;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface BrandMapper extends Mapper<Brand> {
    int insert(Brand record);

    int insertSelective(Brand record);


    List<Brand> selectBrandAll();

    int addBrand(String brandName,String firstChar);

    int delBrand(int id);


    Brand queryBrand(int id);

    int  updateBrand(int id,String brandName2, String firstChar2);
}